package cn.scau.server.service;

import cn.scau.server.pojo.Attendance;
import cn.scau.server.vo.ResultVO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 代码不跑我先跑
 * @since 2025-03-30
 */
public interface AttendanceService extends IService<Attendance> {
    ResultVO checkInOrOut();

    ResultVO getPersonalAttendance(String start, String end);
    ResultVO getDeptAttendance(String startDate, String endDate, Integer deptId, String underEmpId);
    ResultVO recordTripOrLeave(String empId,LocalDate date,Integer status);
    ResultVO repair(String empId, LocalDate date, Integer repairType, LocalDateTime repairTime);  // repairType：1为补签到，2为补签退
}
